#!/bin/bash

## jcop emulator stuff
## export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/tews/java/card/lib/x86
## 
## # Path to jpcsc.jar
## JPCSC=/home/tews/java/card/lib/jar/jpcsc.jar
## 
## # Path to offcard.jar
OFFCARD=


JCKIT222=
APDUIOJAR=$JCKIT222/lib/apduio.jar
EMULATORIOJAR=../emulator/smartcardio/emulatorio.jar
JCOPIOJAR=../emulator/jcop/jcopio.jar

FORCE_IPV4=-Djava.net.preferIPv4Stack=true

#set -x
java $FORCE_IPV4 -ea -classpath .:$EMULATORIOJAR:$JCOPIOJAR:$APDUIOJAR:$OFFCARD Mem_host $*
